package com.example.huadu_server.websocket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.sql.Timestamp;

@Data
@TableName("message")
public class Message {
    private Integer id;
    private Integer senderId;
    private Integer receiverId;
    private Integer conversationId;
    private Integer houseId; // 房源 ID
    private String content;
    private Timestamp sentAt;
    private Boolean isRead;
    private Boolean isReminderSent;
}
